﻿@using Project.Resource.User
<script type="text/javascript">       
    $('.fancybox').fancybox();
</script> 
@Html.AntiForgeryToken()
<div class="userNav">
    <ul>
        <li class="profile">
            <a href="@Url.Action("Register", "User")">
                <img src="/Content/images/profile/register.png" alt="profile">
                  <span>Register</span>
            </a>
        </li>
        <li class="profile">
            <a href="#login_popup" class="fancybox">
                <img src="/Content/images/profile/Login.png" alt="profile">
                  <span>Login</span>               
            </a>
        </li>
        <li class="profile">
            <a href="#forgot_popup" class="fancybox">
                <img src="/Content/images/profile/forgot.png" alt="profile">
                <span>ForgotPassword</span>
            </a>
        </li>
        <li class="profile">
            <a href="@Url.Action("ChangeCulture", "Home", new { lang = "en", returnUrl = Request.RawUrl })">
                <img alt="Alternate Text" src="@Url.Content("~/Content/images/flag/22_en.png")"  style="padding: 8px 8px 4px 8px !important;"/>
            </a>
        </li>
        <li class="li_last_child">
            <a href="@Url.Action("ChangeCulture", "Home", new { lang = "vi-VN", returnUrl = Request.RawUrl })">
                <img alt="Alternate Text" src="@Url.Content("~/Content/images/flag/24_vi.png")"  style="padding: 8px 8px 4px 8px;"/>
            </a>
        </li>
    </ul>
</div>
<div id="login_popup" style="width: 400px; display: none;">  
    @Html.Partial("_Login")  
</div>

<div id="forgot_popup" style="width: 400px; display: none;">  
    @Html.Partial("_Forgot")
</div>
